import {FC} from "react";

interface IconProps {
    className: string;
    size?: number;
    color?: string;
}

const Icon: FC<IconProps> = ({className = "", color = "#333", size = 24}) => (
    <div style={{fontSize: size, color}} className={`iconfont ${className}`}></div>
);

export default Icon;
